Nexi\WC_Pagodil_Widget B

Total Complexity 90
Dependencies 1
Dependents 4
Total lines 555
Lines of code 284
Logical lines of code 162
Comment lines 128
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
getArrayOfInstallmentValues()
A
50 8 28
getPagodilLanguage()
S
56 7 20
checkCategories()
S
59 6 13
woocommerce_review_order_before_payment()
S
59 6 12
woocommerce_before_add_to_cart_button()
S
53 5 21
woocommerce_after_shop_loop_item_title()
S
57 5 15
isProductInstallable()
S
62 5 10
woocommerce_proceed_to_checkout()
S
58 4 14
getPagodilConfig()
S
62 4 11
checkNumberOfProducts()
S
65 4 9
isQuoteInstallable()
S
73 4 4
calc_installments()
S
59 3 13
getEnabledCategories()
S
64 3 11
getPagodilSticker()
S
55 2 19
save_custom_checkout_field()
S
65 3 9
getAvailableInstallmentsNumber()
S
67 2 8
getPagodilMinAmount()
S
70 2 6
totalNotBigEnough()
S
71 2 6
totalTooBig()
S
71 2 6
isPagodilEnabled()
S
68 2 7
getPagodilMaxAmount()
S
70 2 6
isTypeSingleInstallment()
S
78 1 3
isTypeRangeInstallment()
S
78 1 3
register()
S
63 1 10
getXPaySettings()
S
79 1 3
getCartTotal()
S
78 1 3
canSkipCategoriesCheck()
S
79 1 3
calcInstallmentsAmount()
S
73 1 4
wp_head()
S
74 1 4
isTypeMultipleInstallments()
S
78 1 3